package com.qf.lanzhou.blog.api.service.impl;

import com.qf.lanzhou.blog.api.dao.Impl.PraiseCountDaoimpl;
import com.qf.lanzhou.blog.api.dao.PraiseCountDao;
import com.qf.lanzhou.blog.api.pojo.entity.Praise;
import com.qf.lanzhou.blog.api.service.PraiseCountService;

/**
 * @Author jian
 * @Date 2020/12/17 15:26
 * @JDK 1.8
 * @Version 1.0
 */
public class PraiseCountServiceimpl implements PraiseCountService {
    private PraiseCountDao praiseCountDao=new PraiseCountDaoimpl();
    @Override
    public Praise select(String articleId, String praiseStatus) {
        return praiseCountDao.selectcount(articleId,praiseStatus);
    }
}
